#!/bin/bash

# Test
if test ! -x myPFWSearch -o ! -x myPFWSearch.obj; then
  echo "Program is missing or cannot execute";
  exit 1;
fi

# Create objectmap
objmapfile=/tmp/objmap$$.tmp
./myPFWSearch.obj -listlong > $objmapfile

# Run the program
parocrun $objmapfile ./myPFWSearch $*

rm $objmapfile
